﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using DualControl.Authorization.Users;
using System;
using System.Collections.Generic;

namespace DualControl.Users.Dto
{
    [AutoMapFrom(typeof(User))]
    public class UserListDto : FullAuditedEntityDto<long>
    {
        public string Name { get; set; }

        public string Surname { get; set; }

        public string UserName { get; set; }

        public string EmailAddress { get; set; }

        public string PhoneNumber { get; set; }

        public Guid? ProfilePictureId { get; set; }

        public bool IsEmailConfirmed { get; set; }

        public List<UserListRoleDto> Roles { get; set; }

        public DateTime? LastLoginTime { get; set; }

        public bool IsActive { get; set; }       
    }
}
